package aygx.enable;

import aygx.other.annotation.EnableUser;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author 暗影孤星
 * @date 2020/10/28 22:49
 * @explanation
 */
@EnableUser
@SpringBootApplication
public class EnableApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext applicationContext = SpringApplication.run(EnableApplication.class, args);
        System.out.println(applicationContext.getBean("user"));
    }
}
